const requireComponents = require.context('./components', true, /\.vue$/)
const install = (vue) => {
	requireComponents.keys().forEach(i => {
		vue.component(requireComponents(i).default.name, requireComponents(i).default)
	})
}
export default {
	install
}